Added working version to contextualize using pin-pairing mechanism