check for density estimation
add stream reading capabilities