finished through for loops