string library was missing
examples fixed after changes in complex constructor