adding a convenience indent munging function