modex work_spec to models