moved setup_spec