changed renderer to use a basic config object