added some delete functionality