added delete functionality, added filterList