I tried looping but im not very familiar with the way it is supposed to be implemented