setting the timing