Corrected output for Tesker's version