modify items structure