just rearranging class methods. "rendering" methods at the bottom.