added second loop, pppppppeepepepepe