db fields, need to add tests and such