Added handshake to connect
Removed extra print added during development