you should use `auto` to make your code simpler here