create spec for EG