changed db format a little