updated removestr methods to use index/xy before length and removestr passing tests