Classic BBC logic. (thanks to @gregchivs)