Added delete-- Bug fixes