Add default and delete function control