formatting for Job.setState