partials (from J.Cheng shiny-partials)