refactored delete to remove stuff...awaiting backend