I'm not sure how sanitized ```name.value``` is here, so please review.