added hit detection graph