utility methods for core