changed syso to logger