moved the renderer down to its own (currently empty) function