add compression option
0.2.0