Add console logging