what does tempering actually do?