tutorial sample application