write comments for some functions