added SDE capabilities, about to change structure though
unverified changes?