Added constructor from string