use is_valid instead of proximity warning for consistency