Added hash validation (pretty cool!)