var create db every time