precise hit detection implemented.