Better validation

Signed-off-by: Walker Crouse <walkercrouse@hotmail.com>