parsed out getting message and placed it in a helper method