semantic: Use foreach_reverse instead of a backwards for.