Adjusted code to use cluster object to get at the datacenter