Removed some magic numbers, made code more readable.