added better config