more work on db