allow an instance to be created with a string option