made example usage a module