created new file for validation methods