finished refactoring the types into a rendering group