Updated handshake() to be called in main function