spec for task