Nesting levels addressed (now adds padding programmatically)