added $spec to exam template