not using logical AND