Added some useful methods