index for wacky functions assignment