Changed validaiton loop to assure validation order