set function of assets added