modify example to show how you can store data in hotplugdata param, and retrieve it on onRemove()