clean core code and log
complete example code