New helper methods for db