finalized hit functionality