Getting ready to modify the jpeg module to support non delayed & delayed