implemented cordova case