better config setup