functions inside code with comments