Reverted back to string rather than passing the reader object