removed duplication in operators