"The Medium" is loosely based on the Toa Payoh ritual murders of 1981, and its perpetrator, Adrian Lim, with a supernatural twist to the ending.Lim murdered two children and was sentenced to death in 1988.