simplifying and adding operations