Cubitt's code