added used EDIT and INDEX