add register nib method