Doing actions to modify future percepts