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