before change map
Show for sensor update
before refactoring
Code ready to send to the instructor (code that unfortunately doesn't work)