utility methods for data model