Finished but debugging is not enough. the results are crazy.