Uncommented lines that convert string into mask in reduce