Added another example, used print rather than puts