add LOG and test
add LOG and test