continue printf to debug
add log.txt to keep track outputs