Change print_freq and add in extra comments