add a few functions to sds