don't use es6 for...of