change is_valid? to valid