add database functionality