modified main method for Feb 27 in class