Text this: The Kandyan court