added getInstanceStatus