Add function commentaries