add solution for remove element.