adds validation to snap