finished playing with timing code