Added some comments for the specific functions