-logging overall time and state when calculating premiums