using module pattern on site