indent bug and breakout functions