I am grateful to the Government of Malaysia and the Danum Valley Management Committee for permission to carry out this research. Financial support was provided by the Forestry Research Programme of the UK Government’s Overseas Development Administration. Tim Whitmore gave valuable advice. This is publication No. A/124 of the Royal Society South-East Asian Rain Forest Programme;