Implemented a way of mapping