4 , maneuver_command )
		if trigger == "WEB" and firstManeuver.id == "END" then
			if firstManeuver.extra_string == "RIGHT" then
				set_result_id( 8 , "r" )  
			elseif firstManeuver.extra_string == "LEFT" then
				set_result_id( 8 , "l" )  
			end
			tts_street_1 = add_street_name_or_route( firstManeuver, use_dgttsp_0 )
		end

    elseif firstManeuver.id == "EXIT_ROUNDABOUT" then
        exiting_roundabout_pedestrian( firstManeuver )
    elseif firstManeuver.id == "ROUNDABOUT" then
        roundabout_pedestrian( firstManeuver )
    else
		set_result_id( 3 , junction_turn )
        add_pedestrian_vc_or_junction( firstManeuver )
    end

    if double_command == true and firstManeuver.id ~= "ROUNDABOUT" then
        second_cmd_trigger = "1"
    end

end

function exiting_roundabout_pedestrian( firstManeuver )

    if firstManeuver.turn == "QUITE_RIGHT" then
		set_result_id( 3 , maneuver_turns_pedestrian[ "QUITE_RIGHT" ] )
    elseif firstManeuver.turn == "QUITE_LEFT" then
		set_result_id( 3 , maneuver_turns_pedestrian[ "QUITE_LEFT" ] )
    else
		set_result_id( 3 , maneuver_turns_pedestrian[ "TURN" ] )
    end
    if firstManeuver.next_street_is_walkway == 1
      and ( firstManeuver.next_street == "" ) then
		set_result_id( 6 , "g" )	
    elseif ((firstManeuver.next_street ~= "") and (pedestrian_vc[ firstManeuver.next_street ] == nil)) and use_streetnames then
		set_result_id( 6 , "d" )	
		tts_street_1 = firstManeuver.next_street
    end

end

function roundabout_pedestrian( maneuver )

    if maneuver.turn == "QUITE_RIGHT" then
		set_result_id( 3 , "a" )	
    elseif maneuver.turn == "QUITE_LEFT" then
		set_result_id( 3 , "b" )	
    else
		set_result_id( 3 , "c" )	
    end

    
    if trigger == "PEDESTRIAN_COMMAND" or trigger == "WEB" then
        if maneuver == maneuver_1 then

            if maneuver.extra_integer < 4 then	
				ped_turn_no = turn_number_ped[ maneuver.extra_integer ]
				set_result_id( 6 , "j" )	
            elseif (( maneuver.next_street ~= "" ) and (pedestrian_vc[ maneuver.next_street ] == nil)) or ( maneuver.next_route ~= "" ) and use_streetnames then
                set_result_id( 6 , "h" )	
            end

            if maneuver.next_street ~= "" and pedestrian_vc[ maneuver.next_street ] == nil then
				tts_street_1 = maneuver.next_street
        	elseif maneuver.next_route ~= "" then
				tts_street_1 = maneuver.next_route
    	    end
        end
    end
end

function add_pedestrian_vc_or_junction( firstManeuver )

    if pedestrian_vc[ firstManeuver.next_street ] == nil then
        
        if keep[ firstManeuver.turn ] == nil then   
            if firstManeuver.next_street ~= "" and use_streetnames then
                if firstManeuver.next_street == gps_location.street_label then
					set_result_id( 6 , "f" )	
					tts_street_1 = firstManeuver.next_street
                else
					set_result_id( 6 , "d" )	
					tts_street_1 = firstManeuver.next_street
                end
            elseif firstMan