min/max example + mapping example