Added 4-way handshake