working on the calling <getInstances>