added samplecontroller