getting db first time setup to work