getSharedMessage simplfication