Just came back to take a look. Ended up moving the subjob var to the Job
class so that jobs can easily be nested
Don't need to redeclare