getting hit code