changed ins/rem signatures
ins/rem working with circular queue