method main