broke up the validate method into a separate checkRoute() call