properly initializing writable state
removed db