prepare for inserting main body