updated to support job "types"