added parameter to fetch top level models