Rendering is now in its own method