updated to support content view from nib