config mechanism set up