shared-add function

Shared parameters for add functions