finished the CRUD operations