updated to reflect new modules and use the renderer