created db helpers
missing time import