Intending, foreseeing, and the state