smarter indentation