error handling
prepping states
moved job item definition to model