Changing sampling and output.