adding utility methods to API