fucking order of boolean operations\!'