Changing log to puts.