removed magic number ref