structured according to cordova 1