write functions and comments