history not saving or printing...