added in a param for what network you want.