Added some nice functions :)