adjusting sample values