Added the mapper to decide on what number the action should be taken