adding getInstanceDetails