changed print to puts for readability