changed from bytestring to bool list fro storing compressed data