Using puts instead of log