added hit detection