why not put the compressionType magic up on line 27?