Fixed- Inserting and deleting functions.