delete log file
renew sample and implementation