Changed my true functions to function declarations, not function expressions. I just learned about those today.