Changed Main ... added new method