Getting rid of magic numbers [STABLE]