adding kestrel generated code