formats print statements