display and write function works

still need to work the delete item function