What is Mapping method and how does it work?