extract spec setup