Added some functionality to the new method