The Engineer Factory

Chapter 6. Body shopping (1978-1991)

In 1990 a computer programmer from Bombay (Mumbai since 1995) went to California on a B1/B2 visa. He had been hired by the Indian computer company Hindustan Computers Limited (HCL) and sent to its offices in Palo Alto. In 1995 the American magazine Multinational Monitor told his story under a name it made up, ‘Rajesh Ahuja (not his real name)’, and that pseudonym is the only name the record gives him.1 The magazine described the visa he travelled on as one ‘intended for foreign consultants to work in the United States for relatively short stints’.2

The work was not at HCL. Ahuja ‘worked anywhere HCL sent him, at whatever company he was subcontracted to’, and he was ‘required to work overtime without extra pay’.3 Most of his time in America was spent at Sun Microsystems in Mountain View. ‘I shared a two-bedroom apartment and a car with three other programmers, and got $40 a day for expenses,’ he told the magazine. His salary, about $800 a month, was paid into his bank account in India, and he called it ‘all savings’.4 HCL had rented an apartment complex for its programmers, and one person handled ‘all the paperwork, transportation and living arrangement for 160 of us’.5

He knew the terms were hard and said he did not like them. He accepted them for a reason he put plainly: ‘All my life I have dreamed about coming to the United States and being able to go to New York and Disneyland, and listen to bands like the Rolling Stones.’ He would have two years of it, and his flight was paid.6

The magazine recorded one more figure, and it is the reason this programmer opens the chapter. ‘For Ahuja’s services, Sun paid HCL $50 an hour, about half of which remained with HCL.’7 When the assignment ended he went home for what he meant to be a short visit. He then learned, by the magazine’s account, that HCL ‘had not bothered to renew his visa’, and he could not go back. ‘That’s typical of them,’ he told the magazine.8

The arithmetic that follows is this book’s, not the magazine’s. At a working month of 160 hours, $50 an hour comes to about $8,000 billed to Sun each month. Ahuja’s salary and a thirty-day expense allowance together came to about $2,000, with the apartment, the shared car and the flights on top. The magazine’s own statement is narrower: about half the hourly fee stayed with HCL.

Ahuja’s year in California stood for a whole trade. Through the 1980s, most of what India sold abroad as ‘software’ was the time of programmers like him, working on clients’ computers in clients’ offices. The firms that sent them priced that time by the hour or the month, and the founders of one small company spent most of the decade doing the same work.

A name the trade gave itself

The trade’s own name for the business was not flattering. V. Rajaraman, the historian of Indian computing, defines body shopping as ‘sending software engineers to client sites abroad to develop software’, and the historian William Aspray notes that the service came, derisively, to be called by that name.9 Richard Heeks, a British researcher who did fieldwork in Indian software firms from the late 1980s, was more exact. In the Indian context, he wrote, ‘the combination of onsite and programming work has come to be known as “body shopping”’.10 The work was done at the client’s site (onsite), and it was programming rather than analysis or design. Both halves mattered. Later scholars, among them Carol Upadhya of the National Institute of Advanced Studies in Bangalore (Bengaluru since 2014), used the word both for the industry’s whole early model and, for the 2000s, for agencies that placed engineers abroad and took a cut of their pay. This book uses it in Heeks’s wider sense.11

The model was older than the decade. Dinesh Sharma, a journalist and historian of the industry, writes that Tata Consultancy Services (TCS) and Patni Computer Systems had been sending staff to customer sites in the 1970s, and that this ‘became a dominant way of doing software business in the 1980s’.12 By 1980, by Aspray’s count, twenty-one Indian firms exported about $4 million of software a year, and the industry was mainly a body-shopping one.13 Heeks’s series gives the same $4.0 million for 1980.14 When the Americans first noticed the trade is disputed, and no source names a first contract, but TCS had programmers in the United States by 1974.15

The early firms clustered in Bombay, around Nariman Point and later the Santa Cruz Electronics Export Processing Zone (SEEPZ), until at least the mid-1980s.16 An office in Bombay, though, was often only where the contracts were signed. Heeks’s 1988 survey found that 65 per cent of export contracts were carried out wholly at the client’s site. Counting the work itself, just under three-quarters of export development took place overseas and a quarter in India. That was true even of firms in the export zones, which had been set up as bases for work done in India.17

Why ship people

Why would a country export programmers rather than programs? The sources give the same answer from different angles. Sharma’s is the simplest. Indian firms did not have the hardware, the software tools or the basic infrastructure for serious export work, so ‘the best way to leverage it was go to the customer site and work there using their computers’.18

Heeks turned the point into an explanation of the whole industry. Because the work was done onsite, he wrote, it needed no purchase of hardware or software by the Indian company and no technology infrastructure in India. Firms had chosen ‘a path of almost “inputless” exports which requires only a contact overseas, a little finance, and the names of some local programmers who can be hired if a contract is forthcoming’. Such a path could be followed ‘relatively independent of government policy measures, particularly those on imports, because no imports are needed’.19

That last clause links body shopping to the import rules. India rationed foreign exchange, and so it rationed imported machines. N.R. Narayana Murthy, a founder of Infosys, told the Computer History Museum that before 1991 a licence to import a computer took years of visits to Delhi (Chapter 9 gives his account).20 He also recalled banks that did not understand what software was and would not lend against it, no venture capital, a wait of years for a telephone line, and the need for the Reserve Bank of India’s permission even for a day’s business trip abroad.21 Before 1984, Rajaraman adds, customs duty on computers imported for software export ‘used to be over 100%’.22

Computers stayed scarce. India had fewer than 1,000 of them in 1978 and 80,000 in 1990.23 Against that background, a programmer on a plane was the cheapest export India had. The interviewer at the Computer History Museum, David Brock, put it to Murthy that despite these obstacles Infosys had got going quickly ‘because you could send your colleagues to go work in the U.S. at customer sites’. Murthy answered, ‘Yeah.’24

Policy was the push. Heeks’s interviews found a pull as well. Indian managers liked onsite programming because it ‘produces quick revenue for low investment’, which suited a business culture wary of risk in uncertain times.25 Sharma calls it simply ‘a high margin business’.26 The workers pulled too. ‘Many Indian staff also want to work overseas and, if denied the opportunity by one company, will simply join another which will send them abroad.’27 Ahuja’s dream of New York and the Rolling Stones was not unusual. It was one of the things the business ran on.

The minicomputer route

The firms that did this work had come to it by several roads. One ran through the American computer makers that replaced IBM in India after 1978. These minicomputer firms found the Indian market small and slow, and to keep their operations viable they began using local engineers to write software for the machines they sold locally. They found, in Sharma’s words, ‘that not only were Indian engineers cheaper but the quality of software they wrote was very good’, and they began using them for customers back home.28

Narendra Patni, whose company sold Data General minicomputers in India, described how his firm’s software business began. ‘There was a lot of business exchange, and we started doing software work for them including operating systems. That’s how our software stream started.’29 The engineers who did such work are rarely heard in the record. One who is, through a note he sent Sharma in 2006, is K.R. Trilokekar, who joined ORG Systems in 1978. ORG, a division of the Ambalal Sarabhai group, distributed Sperry’s mainframes in India. ‘We developed P1024 protocol, which Sperry used in its mainframes worldwide,’ Trilokekar recalled. ‘We also developed several systems software products for them.’30 His is a reminder that the trade was not only coding to other people’s designs. Some Indian engineers wrote the systems software that sat at the heart of American machines.

The largest road ran through Tata. TCS had learned its trade in the 1970s on work for the American computer maker Burroughs, and the two firms’ joint software company, Tata Burroughs, was renamed Tata Unisys in 1986.31 Sharma reports that these two Tata companies ‘accounted for nearly 70 per cent of exports through body shopping’.32 The World Bank’s table of top exporters, from data gathered by the National Association of Software and Service Companies (Nasscom), the industry’s lobby group, and published in 1994, shows how far ahead they stayed. TCS’s exports were Rs 1,754.8 million and Tata Unisys’s Rs 560.0 million. The next firm, Digital Equipment (India), had Rs 317.8 million.33

Below these few firms, the industry was tiny. Over three-quarters of Indian software companies had fewer than twenty-five professionals, and about 95 per cent had software revenue under $100,000. Some, the World Bank noted, were in the business of renting out programmers abroad and operated with ‘a one-room office, telephone and fax’.34 So many start-ups took this road for a simple reason. A new firm founded by someone who had left a big company could trade on that person’s contacts. It could not so easily overcome the barriers of technology, skills and finance, and so it began with onsite programming, where there were few economies of scale. Selling anything else took patience: a few firms had spent two or three years on export marketing before winning a first order.35

Seven founders and an apparel package

Infosys was one of those start-ups. After a first company of his own, Softronics, had failed for want of computers in India, Murthy joined Patni Computer Systems in Bombay as general manager of software and visited the United States many times.36 Patni, he recalled in an earlier museum interview in 2018, sold Data General computers in India, wrote application software for Indian customers and exported software to the United States, and he built a group of ‘about 100 youngsters’ there.37 Among his colleagues were Nandan Nilekani and Kris Gopalakrishnan, young engineers with a year or a year and a half of experience. When he left to try again, he told them he was ‘convinced that there’s going to be a great future for a company that develops bespoke software for a large market like the U.S.’38

The company was incorporated in July 1981 as Infosys Consultants Private Limited.39 Its 1999 filing with the US Securities and Exchange Commission says it was founded by seven people: Murthy and six software professionals.40 They had, Murthy said in 2018, ‘lots of hopes, lots of dreams, some confidence, but no money’, and what carried them was ‘a deal with our client who gave us a reasonably good advance’.41 The founding is usually remembered for a small sum: Sudha Murty, Murthy’s wife, has said she gave him Rs 10,000 of her savings of Rs 10,250 to start it, keeping Rs 250 back, and that she saw it as a risk because his previous venture had failed.42 At the 1981 average exchange rate that was about $1,150.43 The story is told often. What the company did next is told less.

Murthy described the first customer to the Computer History Museum. It was an American firm, Data Basics, which sold a software package to apparel and shoe companies, among them Jockey and Reebok. Most of its customers ran the package on small 16-bit minicomputers, the Data General NOVA or the DEC PDP-11. Infosys proposed to move it to a 32-bit Data General MV/8000 and later to an IBM 4381 mainframe, so that Data Basics could sell to bigger companies. ‘It was a godsend for us,’ Murthy said.44 The job was a port, the rewriting of an existing program to run on different machines: exactly the kind of conversion work that the World Bank would later list as typical of Indian contracts.45

The clearest record of where the founders spent the 1980s is the management section of that 1999 filing. It reads like the biography of a body shop. ‘From 1981 to 1987, Mr. Nilekani was in the United States managing the marketing and development efforts of Infosys.’ K. Dinesh, from 1981 to 1990, ‘managed projects for Infosys in the United States’. S.D. Shibulal, from 1981 to 1991, ‘worked for Infosys in the United States on projects in the retail and manufacturing industries’. From 1987 to 1994 Gopalakrishnan managed ‘all projects at the U.S.-based KSA/Infosys’, a joint venture with the American consultancy Kurt Salmon Associates.46 Three of the seven founders, in other words, spent most or all of the decade working in America, and a fourth ran the projects of an American-based joint venture for the last part of it.

Nilekani’s own recollection matches the filing. Murthy, he said, opened an office in his flat in Poona (now Pune), and ‘we all went abroad, so he was the only guy here. We were all sitting in Florida or somewhere doing some programming work for a company which was a client’. ‘Essentially from 1981 to 1987,’ he said, ‘I was in the U.S. working on various projects for Infosys for clients in the U.S.’ His explanation was the one Sharma and Heeks gave: ‘in the early days when the technology was not there yet, we had to actually go and do this work physically.’47

The same filing describes Infosys as one of the pioneers of a different model. ‘The Indian offshore development model was initiated in the mid-1980’s’, it says, as a way of dividing a project between a facility in India and the client’s site.48 That is the company’s own claim, made to investors. The founders’ careers show that for most of the decade the Infosys model, like everyone else’s, was onsite. By the early 1990s Infosys was twelfth in the World Bank’s table of exporters, with exports of Rs 120.6 million.49 In 1994, Murthy recalled, the whole company, perhaps 200 people, could still meet in its canteen.50

Selling hours

How was this work priced? The question matters to the argument of this book, which is that the Indian industry was built to sell engineers’ time rather than finished products. The best sources for the 1980s converge on an answer, though none of them is a contract.

The first is a World Bank study by Nagy Hanna, published in 1994, which drew on Nasscom data and on surveys of foreign buyers made in 1991 and 1992. It described Indian export growth as coming mainly from contract programmers doing low-level work, ‘“body-shopping” or “manpower contracts” in which the overseas buyer typically buys “hours” and not a total project or product’. It went on: ‘Typically, programmers are contracted out to work for a client at an agreed hourly or monthly rate for six to eighteen months.’ The jobs were data conversion and coding, such as moving systems from batch processing to online processing, or converting code to run on Unix.51 The contracts were ‘short in term, low in risk, low in value added, and low in investment’, and they made up ‘70-80 percent of the industry’s export revenues’.52

The second is Heeks’s survey work, and it measures something different from his onsite figure: not where contracts were done but how they were billed. ‘During the period 1988-1998,’ he wrote, ‘at least 65% of export contracts were solely for programming work billed on a “time and materials” basis, with programming figuring strongly in the remaining one-third of contracts.’53 Time and materials is the contract term for billing a client for staff time at agreed rates, plus expenses. The rate could be set per hour, per day or per person per month. The opposite is a fixed-price contract, where the supplier promises a result for a set sum and carries the risk if it takes longer.

The third is Ahuja’s case, a single documented price: $50 an hour, billed by HCL to Sun in 1990.54

A fourth, from inside HCL, is a recollection. Arjun Malhotra, one of its founders, told the Computer History Museum in 2018 that he was sent to HCL’s new office in Sunnyvale, taken in 1989, to wind down the company’s attempt to sell its own computers in America. He laid off the hardware team, but the American software companies whose compilers and databases his engineers had been adapting for HCL’s machines asked for the work to continue and offered to pay for it. That gave him ‘a nice positive cashflow, because they were paying me $45+ an hour in those days. I’m going back to 1989.’ He thought he had ‘about 10, 15, maybe 20 people’ there, and he dated HCL’s services business from it: ‘That is how HCL Technologies started.’55 His figure is close to the $50 an hour that Sun paid HCL for Ahuja.

Together these sources support the claim that Indian software exports were priced by time and not by product, at least from 1988 and very likely through the decade. Two limits apply. For the years before 1988 the evidence is the World Bank’s general description, written in 1994. And the time was sold by the hour or by the month; only Ahuja’s case documents a true hourly rate, with Malhotra’s recollection beside it.56

Why did Indian firms not sell products instead? Heeks’s answer, written in 1998, was that the barriers to packaged software were higher than those to services. Indian firms were far from the foreign markets they wanted to serve and found it hard to follow changing needs. Software multinationals could spend 40-50 per cent of their annual revenue on selling and marketing packages, and experience suggested that ‘only about 1-5% of software packages succeed’. Neither government policy nor managers’ attitudes favoured such high-risk, long-term bets.57 Some firms did custom work cheaply in the hope of selling the result as a package, but such ‘packages’ often became platforms for more custom work.58

The pricing had consequences that Heeks spelled out. A firm that sold time could grow only by selling more of it: in custom services, ‘earnings are directly proportional to the number of people working in the industry’.59 This is the bargain the rest of this book follows. Revenue rose with headcount, so a firm that wanted to grow had to keep hiring, and every hour of work it saved was an hour it could not bill. The time it sold was also the cheapest part of the job. Citing a 1991 study by Bhatnagar and Jain, Heeks wrote that ‘Coding is the lowest paid part of the software development process, earning only 10-15% of total project revenue’.60 Foreign buyers knew what they were paying for. A survey of 150 American and European hardware and software firms, cited by the World Bank, ranked Indian software services as having ‘the lowest labor cost after China’. Citing a separate 1991 study of European attitudes, the report also noted ‘a low perception of Indian software skills in OECD markets’, particularly in project management, and observed that programmers who returned from onsite work had gained little or no experience of managing large projects.61 The pattern lasted. In the nine months to December 1998, Infosys earned 63.7 per cent of its revenue from time-and-materials contracts and 36.3 per cent from fixed-price ones.62

The policy catches up

The government did not invent body shopping, but in the 1980s it began to recognise it. The shift was slow. Looking back in 1994, Murli Menon, editor of the Indian magazine C&C, wrote that ‘In 1984, the government still believed in self-reliance, indigenisation and protection of the domestic [computer] industry’.63 Yet the computer policy of that year counted the work of engineers sent to clients’ sites abroad as software export (Chapter 5). The state now counted the body shop as an exporter.64

With machines easier to obtain, some firms began working from India on clients’ systems, though high telecommunications costs held this back.65 Two foreign arrivals showed what the alternative could look like: Citibank’s software unit at SEEPZ, inaugurated in 1985 as Citicorp Overseas Software Limited (COSL), which by the year to March 1990 was India’s third-largest software exporter and even sold a banking product, priced as a thing rather than as hours, and the centre that Texas Instruments set up in Bangalore with its own satellite link to Dallas, which Heeks called ‘the first proper offshore software facility’ (Chapter 8 tells TI’s story).66

The World Bank saw better data links as the way out of body shopping and the brain drain.67 In the 1980s, though, TI and COSL were exceptions. An estimate by Rakesh Basant and Uma Rani, cited by Upadhya and Vasavi, shows how rare they remained: in 1990-91, ‘90 per cent of Indian software and service export revenues came from onsite work and only 5 per cent from offshore’.68 Heeks traced the persistence of onsite work into the 1990s to clients’ distrust of unknown Indian suppliers, their focus on cost, projects too small to be worth sending offshore, the need for face-to-face contact and the shortage of experienced managers in India.69 Even in the year to March 1998, more than half of software services export earnings still came from onsite work.70 Pratap Chatterjee, the Multinational Monitor reporter, wrote in 1995 that until about two years earlier most Indian software exported to the United States had been produced on American soil.71

Who went

The people who went were, overwhelmingly, young men. Heeks found that ‘Only some 10% of Indian software developers are female’. Women faced particular obstacles, because the work often meant unsocial hours and, above all, going overseas. One manager described onsite programming to him as ‘the young, single man’s game’. Yet the women Heeks interviewed felt that software offered ‘a more relaxed and less discriminatory atmosphere than many other Indian employment options’.72

The papers they travelled on are thinly documented for the decade. Heeks wrote that only when American rules tightened in the 1990s were Indian workers channelled into temporary work visas, ‘rather than student or training or even tourist visas as in the past’.73 Ahuja’s B1/B2 visa fits that description.74 The work visa that later defined the trade, the H-1B, belongs to Chapter 13.

The firms invested in the people they sent, and they tried to keep them. Sharma describes the routine: firms ‘had to hire the right people, train them for a brief while, send them to American clients to execute projects and then they would come back’.75 Not all came back. The World Bank observed that ‘once the personnel are abroad, the temptations to remain abroad are strong’, and that the cost of endlessly training replacements had to be set against low profit margins.76

Some firms used the courts. Chatterjee described a programmer whom TCS had brought to San Francisco. When she tried to move to another company, TCS ‘sued to enforce her contract, which called for her to pay more than $30,000 to the company if she quit’. The firm’s lawyer, the magazine reported, said TCS had sued sixteen former employees successfully and had won her case too.77

Ahuja’s $800 a month in 1990 is the earliest known figure for the pay of an Indian programmer sent abroad.78 In the 1990s the US Department of Labor found Indian firms paying their programmers in America ‘$15,000 a year plus housing and travel’, against ‘$70,000 plus benefits’ for an average American counterpart.79 Chatterjee wrote in 1995 that a good software engineer in California could earn $100,000 a year while the best in India earned $10,000.80 Infosys’s 1999 filing, citing the consultancy Software Productivity Research, put the average Indian software wage at about 15 per cent of the American rate.81 The gap was the business. It explains both why clients bought Indian hours and why Indian programmers wanted to be the ones sent to sell them.

Many stayed abroad for good. The World Bank estimated that migration of graduates from ‘premier institutions like the IITs’ was ‘as high as 50 percent’, and that nearly 60 per cent of computer science graduates of IIT Bombay and IIT Madras left the country for study or jobs.82 It placed part of the blame on the trade itself: ‘The orientation of the sector toward renting out programmers for the export market has led to the ubiquitous problem of “brain drain”’.83

The ledger

By the numbers the decade was a success. Heeks’s series, compiled from his own research and the trade magazine Dataquest, shows exports rising from $4.0 million in 1980 to $131.2 million in the year to March 1991.84 The World Bank calculated that exports grew by 35 per cent a year between 1987 and 1991, against 21 per cent for the industry as a whole.85 The number of firms with sales above $1 million rose from fifteen in 1990 to forty-four in 1992.86 The exporters had also organised. Nilekani was a co-founder of Nasscom, and Murthy was its president from 1992 to 1994.87

The headline numbers overstated what India kept. They were gross foreign-exchange earnings. Net of the foreign exchange spent on Indian workers’ travel and living allowances abroad, on marketing, on profits sent home by multinationals and on imported hardware and software, earnings were estimated at about 40 per cent of the gross.88 The estimate, made in the late 1990s, covers more than travel, but it qualifies the case for the trade. An industry valued as a source of foreign exchange spent much of what it earned abroad, and a good part of that went on the costs of sending people there.

How to judge the decade is a matter of interpretation, and the sources allow three readings. Heeks headed his section on the trade ‘Body shopping prison’. In that reading body shopping was low-value labour export that built few higher skills, lost the best people to emigration and left India’s industry stuck at the bottom of the work.89 Heeks also offered a second reading in the same paper: ‘Some have therefore been able to use onsite “body shopping” services as a stepping stone to better things.’90 He set out a possible path from exporting labour, to exporting services done in India, to exporting products, and found support for the first step among individual firms though little in the industry as a whole.91 The third reading is about policy. Body shopping was a rational answer to import controls and scarce foreign exchange, and it outlived them because clients and managers liked it.92 Heeks’s own summary was that much of India’s export growth may have come from the industry’s ‘dogged following of the low-risk, low-barrier first path’.93

A warning in 1994

The World Bank’s study named a risk in the model that this book returns to at its end. Among the drawbacks of body shopping it listed this: ‘Demand for these skills is likely to be eroded by tools that automate many of these tasks.’ Cheaper countries, it added, were entering the low end of the trade.94 ‘Globally,’ the report went on, ‘a long-term decline in demand for routine or low-level programmers has been forecasted.’95 Heeks, four years later, also named ‘automation from new technology’ as one of the things that could hurt this kind of export.96 He noticed a trap in it. Clients would let work go offshore only when it was tightly specified, and tightly specified work was exactly what automated software tools could do.97

These warnings did not come true in the decades that followed. The tools of the 1990s did not erode the demand for Indian programmers. Exports kept growing fast, reaching $1,650 million in the year to March 1998.98 The epilogue of this book returns to them, and to the caution they suggest about any forecast that machines will soon do the work.

Making programmers

Body shopping changed what a software education in India was for. Heeks found that ‘85% of workers in Indian software exports are programmers’, although the average software project needed less than half its labour from programmers.99 The industry hired, and the colleges supplied, people for the lowest stages of the work. The trade also drew them away from everyone else. The World Bank estimated that software export needs could ‘cannibalize’ other sectors ‘by taking almost one-half of all new computing course graduates from government-initiated courses’.100

The 1980s had shown that India could sell its programmers’ time abroad, and that the time sold best when there was plenty of it. The next chapter asks who made those programmers: the new degrees, the private institutes that sold computer courses to anyone who could pay, and the private engineering colleges whose fees became a political fight.