current state (does not work)
first version of for loop