add shared object