Added comment to the function