rename c back to compression
refactor repo state