then, how could I change it in order to let the outside main see the SetParameter method and use it? thanks.