add uncompress func