If, toMap, and bind