Updated Utils.cs (still much work to do)