simplify sample configuration