Changed render to use renderer()