added a database and stuff