use an int map and bang operator