rather using instance variable for config storage
refactored configurability