comments for some functions