adding and deleting trials done