Added compress fn
2.1.0