fixed and added database