added user input for starting node