add register nib snippet