functions defined
comments added to the functions