Make a function to fetch from all accounts.

Same as before just better code, and a debug print to show
which accounts we are fetching from.