added validate button