add main stub