same comment about error validation: please apply this globally