added compress process