Boolean Operation, If-Else control loop