set an intent