logging is added