developing InstanceShareComponent.java