this is a slightly better way to bring in the generated code