removed main method.