updated module pattern to be my own