baisc hit detection working