add configuration and remove private ivar