component: add main pointer