added nib support