The little example programs for AP class