#119: add comment to 'clear' function