Add delete functionality

not yet fully implemented