Removed compress function