Replace magic value with constant