Altered spec to include pattern matching for jobs