add loop2 and loop3 with different iterations
remove tmp files
ignore tmp files