use instance variable instead of class name for config