Handshake with lib