how to compute arrears