improved indentation of queries