added bfsdf and bcsdf interface (not really done yet)