d function

wrapper for data.frame