adding intent