trying to get intent to work