added databasehandler