adding db and such