add reg interface