removing duplicate code, moving the message volume checking to the message handler class