add some loggings