copy of the old SDK