figured out the execution method in console, and thereby debugged the program.