created job states diagram