for loop working somewhat
for loop working somewhat