Add code for the plainText example