Implementation of Compression Logics