Implemented DB methods