minor changes in indentation logic