added database for records