implement handshake prototype

Move this `.` down