custom validate using own method