moved compress to own func, wrote plans for decompress