added extra sampleing to controller