added the capability to formatting downloaded content