copied sample from angus croll
merge for loop condition
assigning variable
added another angus croll
last one from angus croll

must work on those to consolidate