edited logging