it should terminate if there's an error...