finished calculating the premiums