getting rid of config instance variable in wrapper