yeah, but it's called every time the state is changed and create the job and delete it