add comment explaining module pattern