add missing export for compress