simplify using the amazing for comprehensions (seqs are inc in a nested
way)