renderWith method signature change