added delete functionality, small bug but we will fix it soon