created functions wacky