adjusted console logging