> should all move to the $render method
Moved everything into the $render method.