How to use D/s in a relatinship