writing comments to the functions1