added configuration validation