Added some simple utilities