removing trailing whitespaces
introducing nesting branch--non-branch code
introducing custom str
introducing simple xml output