make the validate methods private