Add function comments