added set up for functions and comments