Create loop of span