created for loop for ul's and li's