replaced logger with simple node logger