restruct,now working on booediting view delegate