```ruby

def valid_datatype(datatype)
  return ['int', 'double', 'float', 'string', 'String', 'bool', 'boolean', 'char'].include? datatype.chomp
end

def valid_name?(name)
  return !(name.include? '*')
end

```

Add more valid data types
user
```ruby

def valid_datatype(datatype)
  return ['short', 'byte', 'char', 'int', 'double', 'float', 'string', 'String', 'bool', 'boolean'].include? datatype.chomp
end

def valid_name?(name)
  return !(name.include? '*')
end

```
assistant