added hit class, message now uses that