added simple console logging