console logging updated