Added some utlility methods