Changed draw() to render()