basically a wrapper for libdst