Possibly this line, where you don’t pass a listener callback to makeCapabilityInstance.
makeCapabilityInstance