Using variable instead of value