Huge progress on ID, Introduced the regCheck function