logging updated 2