inner representation of uipdocument works