implement addShare-method