change type of constructor:String -> Object