add in delete and undo functionalities