sample code updated with appwarp 1.2 jar