changed the datbase name and removed some debugging