refined console logging