Added debug modes