how to use intent data