convert print statements