gets so far as creating the database