checking
for(i in obj) must not be used with arrays