separated density as function