Replaced magic number by constant