instrument q.next and q.drain