changed the program to OO paradigm. As a result removed the usage of global class