added db to work with