adding some timing controls