setup validation for second prompt

setup validation for second prompt