started using logical operators