ordering of print statements