not optimal production config, but it works