infinite loop with showDots() somehow. Committed broken file