worked on delete function for orders