Changed the puts to print