add missing comments for code