* Refactor compression and utility