added header nib support