implemented Snappy compression