added note on anonymous function
added the revealing module pattern