created function wacky