intergrating generation and rendering WIP