edit main to accommodate assets addition