Added some useful utils