used to test phone gap process