added an optional parameter to allow indent many lines