edited to leave cordova