Boolean operations done, now dealing with variables