Document-validation added