created a working code for TransmediaQuery example