implemented eraser