comments added in functions