now the call to startActivity is added