added a comment for the function