works on implementing insertItem
works on implementing insertItem