db and editable working