first draft of validation