Added calls to khmer