Resolved all arithmetic problems