Pastable version of Please help me simplify this simple loop