defined problem for function wacky