main base edit