refactoring
renderer is now in renderer_modified.js