slight changes to renderer