1. add play function 2, add DEBUG mechanism