add option for maximum indent