closure type print