proper way to iterate