Unfortunately, you can't buy an iPhone that's actually functional for anything but AT&T's shitty network (yes, OK, you can jailbreak one and use it on Tmobile, but then you're either still paying for AT&T's service or you're not getting it for $300), and if you are getting the phone for $300...