Now my function with comments