Working Handshake

Bug on exit