best printing function ever