It might be better to have a factory method that does the parsing with a constructor for the fields