changed getSpec