Linear queue modified