used constants instead of numbers