McNally's puzzle