forgot to put the code for method in main class.