inherit from dict