Functions Wacky 18 - added function and output