make validate methods as an private method for avoiding to use it as an instance methods