Barney gets Robin a special gift and asks Ted to hold on to it for safe keeping until the rehearsal dinner. When Ted finds the gift ruined, he believes someone framed him. Barney and Robin's search for a new officiant ends when James's father Reverend Sam shows up. Barney's father arrives with his wife, but after seeing him and his mom exchange pleasantries he sets out to reunite them. James also hatches a plan to bring his parents back together. Marshall and Daphne finally bond on their road trip, but the mood is ruined when Daphne gets hung up on by her daughter. Marshall gets Daphne to her daughter's school in time though to see her presentation and the two travel companions part ways. Lily helps Ted uncover Billy Zabka as the culprit behind the wrecked gift. Zabka opens up to Ted about just wanting to be Barney's friend. Ted tells Barney he wrecked the gift and credits Zabka with saving the day.