implement common configuration.