edits for validation