Map: boilerplate of user inputs handling