Better address parse function