added new logging features