change the API to support only one job/calculation