remove log
add logging