Added comments for previously uncommented functions