define type queueState