Again, a separate function would make this more clear.