Added documentation/comments