removed const from sample field