replaced magic number.