qs with time measuring