Fix 5 - Integrate frequency attribute in database

it seems people are to write this kind of things  as  DbEntry