Start to write some code to tune ESC