inserting getMessage to simplify message returns