implements Loopable
improve source indent