Simplify the mapping condition