adding example and minimizing the module