# 2i: map logic