I have the insurance calculations doing something wrong