displaying duplicated, logical, relational operators correctly