Added some functionality to Util