simplify spec