finished looping test