changed initDB