now creates databaases on the fly