Added delete functionality (it was deleted somewhere)