changed log to println