Added documentation for eraser function