use configuration values instead of hardcoded ones