add isVald in sequence