add support for delete and set functions