simplified the logic; do validation first, and skip further validations beyond the point.
simplified the logic; do validation first, and skip further validations
beyond the point.

MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame