add new function delete elements, new pages