adding logical operators