only print at the end