some configuration and run method.