Functions Wacky

Done, finally!