added logging of total for free too