add write head log