use iterable for easier to read code