config map need to be in constructor