refactor renderers a bit