refactored arithm binary operations to be more scalable