add check result before writing address into file
update readme