enclose the conditions inside a => (), 

enclose the conditions inside a => (), causing the arr to set `true` instead column name