started to add config functionalities