change for..in to for