create new assets and middle code