Added decode flag