made changes to renderer