added partial function