Changed emit code for print statement for readability.