added decoded flag