Added function descriptions/comments