saving metadata, delete old results
deleting results