Added comments for the new functions