added the code to fetch clusters