added asome compress/uncompress funcitonality