add items managed function