Use nodes instead of hardcoded values