added 2 new utility methods