refactored
added arithmetic exercise