Updated use of compression to connect version 3