added database helper