Working for loop. Need to incorporate timer.