changed sample to main