does not run without cordova atm