Add comments for functions