add database support, haha