added validation to num words as well so somebody cant mess with form behind the scenes