the specific additional code in those 2 sets of lines is to add:

, 'checkout_extra'

after each of the 'tell_a_friend'