added compression scheme