Added documentation to utils.cs