second attempt at config