make sample settings a little more generic