corrected "conn" to "ws"