Logic operators are working