extend sampleapp