small material changes, working on compression algorithm