see my comment above about checking message