Adding some comments for readability