Added comments for new functions