end to add LOG