reduced code in my_conf