add main & remote interface