trying to add looping