refactoring validate method name to fit standards