Rewrite to using set_episode to reduce duplicate.