Added credits
Reformatted for loops