While the illegal pet trade takes a toll on wild populations , the principal threat to the siamang is habitat loss in both Malaysia and Sumatra .
While the illegal buying and selling of pets takes a toll on wild populations , the main threat to the Siamang is habitat loss in both Malaysia and Sumatra .