Fix. remove magic numbers.