implement an interface for the many type database