switch to puts instead of print