functions with comments added into the file