www works again
added some more test cases
hacking towards a for loop
for loop