Yang's help: for loops, adding and placing dots