compression wrapper library