added time counter and variations in speed