finish arithmetic