Its not necessary, but its fine to have two mappings for the two directions if it simplifies the rest of the code.