a few more setup pieces for rendering