add attribute selections and ordering and facts fetching