added database index