Added ta delete functionality