indent the heredocument part of the code correctly