defined validate method but still need to implement