Get rid of magic constant in design