added example as we discussed
added modularity part + some corrections