trying to build db