work on existing database