init from string