passing and using storage to compiler and compressor