first erase case implemented, weird behavior