erase works perfectly and select is copied from the lecture so needs to be completed