code for assets