what is wrong with this?  I think the vector erase function...?