removed magic constant