added helper for add by part function.