Removing unnecessary code

Compress function does not work yet