Try reducing number of times through loop to 6