Eraser function added