use string for object creation