small modification to launch activity