better config structure