Added deleting functionality