moved to using new compression api