Sorry, i misunderstood. (i read the comment, i just didn't understand it)
setNames is not defined in the Main()?

Please excuse my ignorance, but i am trying