sample application tutorial