Removed magical numbers.