add support for iterating and building multiple jobs