getIntent works