getting rendering to work