Fixed Functions error with }