refactor some arithmetic methods