Added main check, plans for methods