master: removing ui, adding patch, insert index