trying to make cordova work