adding new discovery generated code