surely assign config in constructor