A training sample application