Replace magic number with constant.