add optional argument "delete"