added splice and spliceCurrent for removing array elements while keeping the round-robin order