added example function, variables, comments