Added main method