hit detection now works