added a feature that allows you to adjust for slightly inaccurate timing clocks