try writing spec for msg and filter