using variables instead of numbers