added TaskSpec