do some configuration