Loops work

Gotten average values to read.