add indentation in generation