updated the example because config is getting ignored