why do we need this whole class? why can't we just have a list we iterate over?