now handles logical and comparison operations in argument lists