laying out main rendering methods