updated to allowe instance ofTraversable as validator data