setting up functions wacky