implementation of end of queue packet