code cleaning for puzzle trackball

code cleaning
code cleaning

code cleaning