removed check message method. no longer needed