fixed comments for functions