Added some delete functionality (incomeplete still)