Refactor removed magic number