read_conf was implemented completely