reworked db