using eq to compare bools